package com.ewo.entity.ApplicationPage;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class EmployeeSettlement {
    //结算单id:
    private int es_id;
    //员工id:
    private int e_id;
    //员工姓名
    private String e_name;
    //结算单据号:
    private String es_num;
    //月份:
    private int month;
    //结算周期:
    private String interval;
    //结算汇总
    private double es_sum;
    //结算状态(0:待对账,1:已对账)
    private int es_status;
    //结算规则:
    private String rule;
    //结算人员id:
    private int a_id;
    //结算人员
    private String a_name;
    //结算时间:
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime settlement_time;
}
